<template>
	<view class="logo-bg">
		<view class="margin-top150 flex-justAliCenter-column">
			<image class="image-logo margin-bottom30" src="../../static/images/logo-01.png" mode=""></image>
			<view class="fontSize-30 color-fff fontWeight-bold">无人机</view>
		</view>

		<!-- <view class="flex-center margin-top30">
			<view class="flex-justAliCenter-column margin-right20" v-for="(item,index) in list" :key="index"
				@click="chooseActive(index)">
				<view class="fontSize-14 color-fff margin-bottom10">{{item.name}}</view>
				<view class="mima-icon" v-if="indexActive == index"></view>
				<view style="height: 2rpx;" v-else></view>
			</view>
		</view> -->
		<view class="flex-justAliCenter-column">
			<view class="input-view flex-center">
				<input type="text" class="input-item-view" v-model="name" placeholder="请输入手机号码" />
			</view>
			<view class="input-view flex-center">
				<input type="text" class="input-item-view" v-model="name" placeholder="请输入登录密码" />
			</view>
			<view class="input-view flex-center">
				<input type="text" class="input-item-view" v-model="name" placeholder="请输入重复密码" />
			</view>
			<view class="input-view flex-center">
				<input type="text" class="input-item-view" v-model="name" placeholder="请输入验证码" />
			    <view class="code-btn">获取验证码</view>
			</view>
		
			<view class="login-btn margin-bottom30">
				注册
			</view>
			<view class="flex-between" style="width: 540rpx;">
				<view class="fontSize-15" style="color: #00BA44;"
				@click="$tools.navigateTo('/pages/login/login')">用户登录</view>
				<view class="fontSize-15" style="color: #00BA44;">找回密码</view>
			</view>
		</view>
		
		<!-- <view class="flex-center">
			<image class="img-100 border-radius50" src="../../static/images/weixin.png" mode=""></image>
		</view>
		<view class="flex-center margin-top20">
			<view class="flex"  @click="isSelect = !isSelect">
				<image v-if="isSelect" class="img-26 margin-right20" src="../../static/images/checked.png" mode="widthFix"></image>
				<image v-else class="img-26 margin-right20" src="../../static/images/check.png" mode="widthFix"></image>
			</view>
			<view class="fontSize-13 color-999">勾选同意
				<text style="color: #00BA44;" @click="gotoUrl('用户协议')">《用户协议》</text> 及
				<text style="color: #00BA44;" @click="gotoUrl('隐私政策')">《隐私政策》</text>
			</view>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
					name: '密码登录',
				}, {
					name: '验证码登录',
				}],
				indexActive: 0,
				name: '',
				isSelect:false,
			}
		},
		methods: {
			chooseActive(index) {
				this.indexActive = index
			}
		}
	}
</script>

<style lang="scss" scoped>
	.code-btn{
		width: 150rpx;
		height: 60rpx;
		background-color: #87D9FF;
		border-radius: 30rpx;
		font-size: 13px;
		text-align: center;
		line-height: 60rpx;
		color: #fff;
	}
	.login-btn {
		width: 540rpx;
		height: 80rpx;
		background-color: #00BA44;
		border-radius: 40rpx;
		margin-top: 50rpx;
		font-size: 15px;
		text-align: center;
		line-height: 80rpx;
		color: #fff;
	}

	.input-item-view {
		flex: 1;
		height: 100%;
		font-size: 15px;
	}

	.input-view {
		width: 500rpx;
		background-color: #fff;
		border-radius: 40rpx;
		margin: 0 auto;
		margin-top: 50rpx;
		padding: 10rpx 20rpx;
	}

	.mima-icon {
		width: 40rpx;
		height: 2rpx;
		background-color: #fff;
		border-radius: 10rpx;
	}

	.image-logo {
		width: 222rpx;
		height: 192rpx;
		flex-shrink: 0;
	}

	.logo-bg {
		width: 100%;
		height: 100vh;
		overflow: hidden;
		background: url('../../static/images/login-bg.png') no-repeat;
		background-size: 100% 100%;
	}
</style>